#include "Init.hpp"



bool Network::load()
{
    #if defined (WIN32)
    	WSADATA WSAData;
        return (WSAStartup(MAKEWORD(2,2), &WSAData) == 0);
    #else
        return true;
    #endif
}



bool Network::unload()
{
    #if defined (WIN32)
        return (WSACleanup() == 0);
    #else
        return true;
    #endif
}




